#ifndef CONDITIONALTRANSLATINGOBJECT_H_
#define CONDITIONALTRANSLATINGOBJECT_H_
#include "TranslatingObject.h"
#include "ConditionalStatement.h"
#include "Dictionary.h"

class ConditionalTranslatingObject : public TranslatingObject
{
	protected:
	Dictionary * gameState;
	ConditionalStatement * conditionalStatement;
	int stopPoint;
	
	public:
	ConditionalTranslatingObject(	Dictionary * gameState,
						TextureManager * textureManager,
						ConditionalStatement * conditionalStatement,
						Material * material,
						float textureRotation,
						Vector2D * vertices,
						int numVertices,
						float mass,
						Vector2D * path,
						int numPathPoints,
						float speed);
	~ConditionalTranslatingObject();
	virtual void Think(double elapsedTime);
};
#endif /*CONDITIONALTRANSLATINGOBJECT_H_*/
